﻿using System.Collections.Generic;

namespace MuddyBoots.GreenlightQC.DataService.Model
{
    public class MenuItem
    {
        public string Icon { get; set; }

        public int Index { get; set; }

        public int TargetIdentifier { get; set; }

        public string Text { get; set; }

        public override string ToString()
        {
            if (!string.IsNullOrWhiteSpace(this.Text))
            {
                return this.Text;
            }

            return base.ToString();
        }
    }
}
